package com.flower.service;

import com.flower.pojo.Flower;
import com.flower.pojo.Shopping;

import java.util.List;
import java.util.Map;

public interface ShoppingService {
    List<Map<String,Object>> queryShopping(Integer uid);

    int delShopping(Integer spid);

    int uptateShopping(Shopping shopping);

    List<Shopping> queryAll();

    Shopping queryShoppingByFid(Integer fid);

    int addShopping(Shopping shopping);

    int updateFnum(Shopping shopping);

    Flower queryFlowerById(Integer fid);
}
